﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using VDataAdapter;

namespace TestVdataAdapter.WorkerFoo
{
    /// <summary>
    /// This Worker will throw an exception during do work
    /// </summary>
    class WorkerException : Worker
    {
        public WorkerException(ManualResetEvent wait, ManualResetEvent signal)
            : base(wait, signal)
        {
        }
        
        protected override void DoWork(object data)
        {
            // should throw exceptiono immendiately
            throw new NotImplementedException();
        }

        
    }
}
